package cn.com.headfree.salary.dao;

import cn.com.headfree.entity.IscUser;
import cn.com.headfree.entity.TSalaryInfo;
import cn.com.headfree.entity.TSeniorCompetent;
import cn.com.headfree.vo.DealFileVo;
import com.gta.edu.sdk.common.dto.Page;
import cn.com.headfree.entity.TOrgDept;
import cn.com.headfree.entity.isc.User;

import java.util.List;

public interface SalaryDao {

	TOrgDept getOrgNameByOrgId(String baseOrgId);

	void getPageSalaryInfo(Page<TSalaryInfo> page, String year,User user);

	List<TSalaryInfo> judge(TSalaryInfo salaryInfo);

	void saveSalaryInfo(TSalaryInfo tSalaryInfo);

	List<DealFileVo> getFilesByBusinessId(String businessId, String businessNode);

	//变更状态
	void updateSalaryState(String id,String state,String auditOpt);

	TSalaryInfo selectTSalaryInfoById(String id);

	List<User> searchUserListByOrgId(String baseOrgId);

	List<User> searchUserByErpNo(String baseOrgId,String erpNo);

	List<TSalaryInfo> searchNoPointSalaryListByOrgId(String baseOrgId,Integer year);

	void getPageSalaryInfoQuery(Page<TSalaryInfo> page,String baseOrgId, String userName, String erpNo, Integer year, String auditStatus);

	List<TSalaryInfo> getListSalaryInfoQuery(String baseOrgId, String userName, String erpNo, Integer year, String auditStatus);

}
